<?php
return array(
    'uploadDir' => $_SERVER['DOCUMENT_ROOT'] . '/up',
    'uploadDirectory' => '/up',
    'thumbWidth' => 450,
    'thumbHeight' => 350,
    'perPage' => 10,
    'pwdSalt' => 'cvfqk',
    'defaultCategory' => 'Прочее',
    'defaultLogo' => '/themes/miky/images/company_logo.png',
    'defaultAvatar' => array(
	'20' => '/themes/miky/images/userpics/20.jpg',
	'50' => '/themes/miky/images/userpics/50.jpg'
    ),
    'logo' => array(
	'width' => 100,
	'height' => 100
    ),
    'maxUploadSize' => '5000000', //in bytes
    'allowedTypes' => array('jpg', 'png', 'bmp', 'jpeg'),
    'roles' => array(
	'0' => 'guest',
	'1' => 'user',
	'2' => 'manager',
	'3' => 'admin'
    ),
    'avatar' => array(
	'width' => 50,
	'height' => 50,
	'thumbWidth' => 20,
	'thumbHeight' => 20
    ),
    'userSet' => array(
	'man' => 'Мужской', 'woman' => 'Женский', 'other' => 'Другой'
    ),
    'acl' => require(dirname(__FILE__) . '/acl.php'),
    'auth' => array(
	'cookieTime' => 60*60*24*30
    ),
    'mail' => array(
	'_from' => 'no-reply@recover.com',
	'_fromName' => 'recovery'
    ),
    'solr' => array(
	'host' => 'localhost',
	'port' => 8080,
	'path' => '/solr'
    ),
    'cache' => array(
	'lifetime' => 0
    )

);
